From: Bilal Elmoussaoui Date: Sat, 12 Oct 2024 11:11:09 +0000 (+0200) Subject: Adapt to renamed Clutter threading functions X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~173^2^2~185 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=715b47bddced860277e012cd722ff27e242477f3;p=gnome-shell.git Adapt to renamed Clutter threading functions Part-of: --- diff --git a/js/misc/systemActions.js b/js/misc/systemActions.js index db08b5468..99c9173be 100644 --- a/js/misc/systemActions.js +++ b/js/misc/systemActions.js @@ -430,7 +430,7 @@ const SystemActions = GObject.registerClass({ if (Main.screenShield) Main.screenShield.lock(false); - Clutter.threads_add_repaint_func_full(Clutter.RepaintFlags.POST_PAINT, () => { + Clutter.threads_add_repaint_func(Clutter.RepaintFlags.POST_PAINT, () => { Gdm.goto_login_session_sync(null); return false; }); diff --git a/src/shell-global.c b/src/shell-global.c index 7e6f7d525..617f4e3d1 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -1008,16 +1008,16 @@ _shell_global_set_plugin (ShellGlobal *global, g_signal_connect (global->stage, "notify::height", G_CALLBACK (global_stage_notify_height), global); - clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_PRE_PAINT, - global_stage_before_paint, - global, NULL); + clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_PRE_PAINT, + global_stage_before_paint, + global, NULL); g_signal_connect (global->stage, "after-paint", G_CALLBACK (global_stage_after_paint), global); - clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT, - global_stage_after_swap, - global, NULL); + clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_POST_PAINT, + global_stage_after_swap, + global, NULL); shell_perf_log_define_event (shell_perf_log_get_default(), "clutter.stagePaintStart",